import os
src = r"D:\Datasets\src115\evalF\compbypic"

print("正在识别：",end="")
for i in range(1,116):
    path_dir = os.path.join(src,str(i))
    # os.system(f"python detect.py --weights pretrain/yolov5s.pt --source {path_dir} --conf 0.25")
    os.system(f"python detect.py --weights pretrain/yolov5s.pt --source {path_dir} --conf 0.5")
    print(f"文件夹{i}识别完毕！")
